import request from '@/utils/request'

// 获取-全部一级分类
export const getCategoryListAPI = () => {
  // 调用后会"立刻"返回Promise对象(承诺-默认pending状态)
  return request({
    url: '/home/category/head'
    // method: 'GET'
  })
}
